/*
 * Class: StatusController
 * Created by: Mary Joy Pascual
 * Date Created: 06/16/2014
 * Company: Netsuite
*/
package com.netsuite.controller;

import java.util.List;

import com.netsuite.dao.StatusDAO;
import com.netsuite.helper.ErrorHelper;
import com.netsuite.logger.LoggerImp;
import com.netsuite.pojo.StatusPOJO;

public class StatusController {
	
	private static String CLASS_NAME = StatusController.class.getName();
	
	public List<StatusPOJO> getStatusList() throws ErrorHelper {
		
		LoggerImp.startLog(CLASS_NAME, "getStatusList()");
		StatusDAO statusDAO = new StatusDAO();
		LoggerImp.endLog(CLASS_NAME, "getStatusList()");
		
		return statusDAO.getStatusList();
	}

}
